From e6f4576ed5f3e6a289f911d93e578c4b6ade3e2d Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Fri, 31 Aug 2007 12:12:27 +0100 Subject: [PATCH] Fix handling of auto-generated file xsm.py. Signed-off-by: Keir Fraser --- .hgignore | 1 + tools/python/Makefile | 4 ++-- tools/python/xen/util/xsm/xsm.py | 9 --------- 3 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 tools/python/xen/util/xsm/xsm.py diff --git a/.hgignore b/.hgignore index 0b155addc5..2f1962d1a0 100644 --- a/.hgignore +++ b/.hgignore @@ -149,6 +149,7 @@ ^tools/misc/xenperf$ ^tools/pygrub/build/.*$ ^tools/python/build/.*$ +^tools/python/xen/util/xsm/xsm\.py$ ^tools/security/secpol_tool$ ^tools/security/xen/.*$ ^tools/security/xensec_tool$ diff --git a/tools/python/Makefile b/tools/python/Makefile index 832808237a..880a19c9ff 100644 --- a/tools/python/Makefile +++ b/tools/python/Makefile @@ -23,10 +23,10 @@ CATALOGS = $(patsubst %,xen/xm/messages/%.mo,$(LINGUAS)) NLSDIR = /usr/share/locale .PHONY: build buildpy -buildpy: +buildpy: xsm.py CC="$(CC)" CFLAGS="$(CFLAGS)" XEN_SECURITY_MODULE="$(XEN_SECURITY_MODULE)" python setup.py build -build: xsm.py buildpy refresh-pot refresh-po $(CATALOGS) +build: buildpy refresh-pot refresh-po $(CATALOGS) # NB we take care to only update the .pot file it strings have # actually changed. This is complicated by the embedded date diff --git a/tools/python/xen/util/xsm/xsm.py b/tools/python/xen/util/xsm/xsm.py deleted file mode 100644 index 92b8c3061b..0000000000 --- a/tools/python/xen/util/xsm/xsm.py +++ /dev/null @@ -1,9 +0,0 @@ -XEN_SECURITY_MODULE = "flask" -from xsm_core import * - -import xen.util.xsm.flask.flask as xsm_module - -xsm_init(xsm_module) -from xen.util.xsm.flask.flask import * -del xsm_module - -- 2.30.2